package com.jz.netthings.application.stockManage.bean;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 耗材模板
 * </p>
 *
 * @author yangyunyun
 * @since 2019-07-29
 */
@Data
public class ConsumablesTemplate implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 模板名称
     */
    private String name;
    /**
     * 有效期（开始）
     */
    @TableField("validityBegin")
    private Date validityBegin;
    /**
     * 有效期结束
     */
    @TableField("validityEnd")
    private Date validityEnd;


}
